package com.example.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;

/**
 * 宠物实体炎对应pet表
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("pet")
public class Pet {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("shop_id")
    private Integer shopId;

    @TableField("type_id")
    private Integer typeId;

    @TableField("name")
    private String name;

    @TableField("sex")
    private String sex;

    @TableField("image")
    private String image;

    @TableField("price")
    private BigDecimal price;

    @TableField("introduce")
    private String introduce;

    @TableField("content")
    private String content;

    @TableField("status")
    private String status;

    @TableField("recommend")
    private String recommend;

    @TableField("store")
    private Integer store;
}
